/**
 * 
 */
package br.flf.webchat.entidades;

import java.io.Serializable;

/**
 * @author Nathan
 * 
 */
public class Cliente extends Pessoa implements Serializable {
	// -------------------------------------------Constantes
	/**
	 * Generated SerialVersion UID.
	 */
	private static final long serialVersionUID = 7750688800412301985L;
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((getNome() == null) ? 0 : getNome().hashCode());
		return result;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof Cliente))
			return false;
		Cliente other = (Cliente) obj;
		if (getNome() == null) {
			if (other.getNome() != null)
				return false;
		} else if (!getNome().equals(other.getNome()))
			return false;
		return true;
	}

	// -------------------------------------Metodos Privados
	// ----------------------------------------Gets and Sets

	
}
